#define _SUPPRESS_PLIB_WARNING

#include <plib.h>
#include "FreeRTOSConfig.h"

void maintemp()
{
    SYSTEMConfigPerformance(configCPU_CLOCK_HZ);

    mOSCSetPBDIV((0 << _OSCCON_PBDIV_POSITION));
    CheKseg0CacheOn();

    mCheConfigure(CHE_CONF_WS2 | CHE_CONF_PF_C);
    //CHECON = (3 << 0 ) | (1 << 4);

    //INTCONSET = _INTCON_MVEC_MASK;
//    INTCONSET =
    INTEnableSystemMultiVectoredInt();
    INTEnableInterrupts();
}